package com.gec.mall.service;

import com.gec.mall.pojo.TbBrand;

import java.util.List;

/**
 * @Author: li
 * @Date: 2023/1/7
 * @PACKAGE_NAME:com.gec.mall.service
 * @Project_Name:mall-parent
 * @VERSION: 1.0.0
 */
public interface BrandService {
    //查询全部品牌
    List<TbBrand> findAllBrand();

    //根据id查询单个
    TbBrand findBrandById(Long id);

    //添加和修改
    void saveOrUpdateBrand(TbBrand brand);

    //根据id删除品牌
    void deleteBrandById(Long id);

}
